
package com.microweb.toastmaster.service;

import java.util.List;

import com.microweb.toastmaster.service.Manager;
import com.microweb.toastmaster.model.Speech;
import com.microweb.toastmaster.dao.SpeechDao;

public interface SpeechManager extends Manager {
    /**
     * Retrieves all of the speechs
     */
    public List getSpeechs(Speech speech);

    /**
     * Gets speech's information based on id.
     * @param id the speech's id
     * @return speech populated speech object
     */
    public Speech getSpeech(final String id);

    /**
     * Saves a speech's information
     * @param speech the object to be saved
     */
    public void saveSpeech(Speech speech);

    /**
     * Removes a speech from the database by id
     * @param id the speech's id
     */
    public void removeSpeech(final String id);
}

